package com.svm.bean;

public class Image implements Comparable<Image> {

	private String name;
	private String path;
	private String featureFilePath;
	private Double euclidianDistance;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getFeatureFilePath() {
		return featureFilePath;
	}

	public void setFeatureFilePath(String featureFilePath) {
		this.featureFilePath = featureFilePath;
	}

	public Double getEuclidianDistance() {
		return euclidianDistance;
	}

	public void setEuclidianDistance(Double euclidianDistance) {
		this.euclidianDistance = euclidianDistance;
	}

	@Override
	public int compareTo(Image o) {
		return euclidianDistance.compareTo(o.getEuclidianDistance());
	}

}
